<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
#bound {
	width: 500px;
	height: 430px;
	border: 1px solid;
	border-color: black;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.in {
	width: 100%;
}

.left {
	text-align: right;
	width: 150px;
}

.right {
	text-align: left;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Edit- User</title>
</head>
<body>
	<center>
		<html:form action="doeditadmin.do?method=editAdmin">
			<div id="bound">
				<div style="border-bottom: 1px black solid; text-align: center;">Thêm
					thành viên mới</div>
				<br />
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Tên đăng nhập :</td>
							<td class="right"><html:text property="admin.adminId" />
							</td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Mật khẩu đăng nhập :</td>
							<td class="right"><html:password property="admin.apassWord" />
							</td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Xác nhận mật khẩu :</td>
							<td class="right"><html:password property="admin.repassword" />
							</td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Cấp độ thành viên :</td>
							<td class="right"><html:select property="admin.role">
									<html:option value="1">Administrator</html:option>
									<html:option value="0">Contributer</html:option>
								</html:select>
							</td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Họ và tên :</td>
							<td class="right"><html:text property="admin.fullName" /></td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Địa chỉ email :</td>
							<td class="right"><html:text property="admin.email" /></td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Điện thoại :</td>
							<td class="right"><html:text property="admin.phone" />
							</td>
						</tr>
					</table>
				</div>

				<div class="in">
					<table class="in">
						<tr>
							<td class="left">Miêu tả ngắn :</td>
							<td class="right"><html:textarea
									property="admin.description">

								</html:textarea>
							</td>
						</tr>
					</table>
				</div>

				<div class="in">
					<table class="in">
						<tr>
							<td class="left"></td>
							<td class="right"><font color="red">(*)</font> Thông tin
								phải nhập</td>
						</tr>
					</table>
				</div>
				<div class="in">
					<table class="in">
					
						<tr>
							<td class="left"></td>

							<td class="right"><input type="submit" value="Update"
								 /> <input type="reset" value="Reset" /></td>
						</tr>
					
					</table>
				</div>
			</div>
		</html:form>
	</center>
</body>
</html>